

//TODO a(63)
function a63(module, exports, a) {
    var i = a(23), s = a(3), r = a(21), n = function (e) {
        this.contDom = e.dom.cont, this.parentEl = e.dom.parentEl, this.coreVideo = e.coreVideo
    };
    s.extend(n, i);
    var o = {
        init: function () {
            this.nodes = {
                container: this.parentEl.find(".js-tip"),
                msg: this.parentEl.find(".js-tip-msg"),
                closeBtn: this.parentEl.find(".js_tip_close")
            }, this.autoTime = null, this.addEvent()
        }, addEvent: function () {
            this.nodes.closeBtn.on("click", this.hide, this), this.manager.evt.on("showTip", function (e) {
                this.show(e.args[0])
            }, this), this.manager.listener.on(r.PLAY_STATE, function (e, t) {
                "init" == t && (clearTimeout(this.autoTime), this.hide())
            }, this)
        }, show: function (e) {
            var t = s.bind(this.manager.lanFit.fit, this.manager.lanFit), a = "", i = !1;
            switch (e) {
                case"changeDefi":
                    a = t("正在为您切换清晰度..."), i = !0;
                    break;
                case"glsbPressure":
                    a = t("人太多挤爆了~暂只能提供低清晰度观看"), i = !0;
                    break;
                case"trylook":
                    a = t("会员影片可试看") + " " + this.manager.playerData.tryLookTime + " " + t("分钟"), i = !0;
                    break;
                case"appGuide":
                    a = t("影片可试看") + " " + this.manager.playerData.tryLookTime + " " + t("分钟"), i = !0
            }
            this.nodes.msg[0].innerHTML = a, this.nodes.container[0].style.display = "", this.manager.evt.trigger("vjs_showPannel"), i && (clearTimeout(this.autoTime), this.autoTime = setTimeout(s.bind(this.hide, this), 5e3))
        }, hide: function () {
            this.nodes.container[0].style.display = "none"
        }
    };
    s.merge(n.prototype, o), module.exports = n
}
